// ignore_for_file: unused_import

import 'package:flutter/material.dart';
import 'package:flutter_pro_01/components/01_%E6%8A%BD%E7%A6%BB%E7%BB%84%E4%BB%B6.dart';
import 'package:flutter_pro_01/components/02_%E6%97%A0%E7%8A%B6%E6%80%81%E7%BB%84%E4%BB%B6.dart';
import 'package:flutter_pro_01/components/03_%E6%9C%89%E7%8A%B6%E6%80%81%E7%BB%84%E4%BB%B6.dart';
import 'package:flutter_pro_01/components/04_%E7%BB%84%E4%BB%B6%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F.dart';
import 'package:flutter_pro_01/components/05_Container%E7%BB%84%E4%BB%B6.dart';
import 'package:flutter_pro_01/components/12_%E5%95%86%E5%93%81%E8%AE%A2%E5%8D%95.dart';
import 'package:flutter_pro_01/components/13_ListView%E7%BB%84%E4%BB%B6.dart';
import 'package:flutter_pro_01/components/14_ListView%E7%9A%84Builder.dart';
import 'package:flutter_pro_01/components/15_ListView%E7%9A%84separated%E4%BD%BF%E7%94%A8.dart';
import 'package:flutter_pro_01/components/17_GridView%E7%9A%84%E4%BD%BF%E7%94%A8.dart';
import 'package:flutter_pro_01/components/19_GridView%E7%9A%84build%E5%87%BD%E6%95%B0.dart';
import 'package:flutter_pro_01/components/20_CustomScrollView%E7%BB%84%E4%BB%B6.dart';
import 'package:flutter_pro_01/components/21_dio%E7%BD%91%E7%BB%9C%E8%AF%B7%E6%B1%82.dart';
import 'package:flutter_pro_01/components/order_detail.dart';

void main() {
  // runApp(const MyApp1());
  // runApp(MaterialApp(home: MyApp1()));
  // runApp(MaterialApp(home: MyApp2(age: 99)));
  // runApp(MaterialApp(home: MyApp4(parentName: '张三丰')));
  // runApp(MaterialApp(home: MyApp5()));
  // runApp(MaterialApp(home: MyApp12()));
  // runApp(MaterialApp(home: MyApp13()));
  // runApp(MaterialApp(home: MyApp14()));
  // runApp(MaterialApp(home: MyApp15()));
  // runApp(MaterialApp(home: MyApp17()));
  // runApp(MaterialApp(home: MyApp19()));
  // runApp(MaterialApp(home: MyApp20()));
  // runApp(MaterialApp(home: MyApp21()));
  runApp(
    MaterialApp(
      // 命名路由
      routes: {
        '/': (context) => MyApp21(), // 订单列表页（第一屏展示的页面）
        '/details': (context) => OrderDetail(), // 订单详情页
      },
    ),
  );
  // runApp(
  //   MaterialApp(
  //     home: Scaffold(
  //       appBar: AppBar(
  //         title: Text(
  //           '',
  //           style: TextStyle(color: Color.fromARGB(0, 1, 249, 245)),
  //         ),
  //         backgroundColor: Color.fromARGB(0, 76, 5, 243),
  //       ),
  //       body: Center(child: Text('', style: TextStyle())),
  //     ),
  //   ),
  // );
}
